package com.balabala.gym_goods.service.impl;

import com.balabala.gym_goods.mapper.CategoryMapper;
import com.balabala.gym_goods.pojo.dto.CategoryQueryDto;
import com.balabala.gym_goods.pojo.entity.Category;
import com.balabala.gym_goods.pojo.vo.CategoryQueryVo;
import com.balabala.gym_goods.service.CategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements CategoryService {

    @Override
    public List<CategoryQueryVo> findName(CategoryQueryDto categoryQueryDto) {
        return getBaseMapper().findName(categoryQueryDto);
    }

}
